package com.qfedu.dao;

import com.qfedu.pojo.Employee;
import com.qfedu.pojo.VEmployee;

import java.util.List;
import java.util.Map;

/**
 * @author guo
 */
public interface EmployeeDao {
    /**
     * 查询所有的employee信息
     *
     * @param employee 进行条件查询需要的条件
     * @return 查询到的employee信息的list数组
     */
    List<Employee> findAll(VEmployee employee);
    Employee selectById(Integer id);
    void deleteById(Integer id);
    void add(VEmployee vEmployee);
    Employee selectByCid(String cardId);
    VEmployee selectByEId(Integer id);
    void updateEmployee(VEmployee vEmployee);
}
